 using System;
  using NUnit.Framework;
  
using CUtil;
using System.Collections;
using System.Collections.Generic;
using CStock;

namespace TestCases.Misc
{



    [TestFixture]
    public class IListTest
    {
        //private PasswordGenerator defaultPwdGen;
        //private PasswordGenerator customPwdGen;
        //private string defaultPassword;
        //private string customPassword;
        private ListQuotes quotes;
 
        public IListTest()
        {
        }
        [Test]
        public void TestIList()
        {
            quotes = new ListQuotes();
            IQuote qu = new Quote();
            qu.CLOSEc = 1;
            quotes.Add(qu);
            qu = new Quote();
            qu.CLOSEc = 2;
            quotes.Add(qu);
            
            //System.Collections.Generic.List<string> arrL = this.indicatorsOnChart as List<string>;
            if (quotes != null && quotes.Count > 0)
            {
                IQuote[] quArr = (IQuote[])quotes.ToArray() as IQuote[];

                Assert.IsTrue(quArr.GetLength(0) > 0);
            }
            

        }

       [SetUp]
        public void Init()
        {
           
        }

        [TearDown]
        public void Destroy()
        {
          
        }

       

    

     
       
       
    }
    
}
